package com.sky.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 员工信息 Mapper 接口
 * </p>
 *
 * @author wang
 * @since 2023-07-06
 */
@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {

    Page<EmployeeDTO> pageEmp(Page<EmployeeDTO> employeeDTOPage,@Param("vo") EmployeePageQueryDTO employeePageQueryDTO);
}
